<html>
<meta name="layout" content="main" />
<body>
	<sec:ifNotLoggedIn>
		${response.sendRedirect("login/auth")}
	</sec:ifNotLoggedIn>
	<sec:ifLoggedIn>
		<sec:ifAllGranted roles="ROLE_ADMIN">
			${response.sendRedirect("admin/index")}
		</sec:ifAllGranted>
		<sec:ifAllGranted roles="ROLE_FUNCIONARIO">
			${response.sendRedirect("funcionario/index")}
		</sec:ifAllGranted>
	</sec:ifLoggedIn>
</body>
</html>
